﻿//----------------------------------------------------------------------------------------------------
// IGameType is the base class for all gametypes. gametypes are the processing centre for win conditions.
//----------------------------------------------------------------------------------------------------

package HG.GameTypes
{
	public class IGameType
	{
		var m_name:String;
		var m_description:String;
		var m_active:Boolean;
		
		//----------------------------------------------------------------------------------------------------
		public function IGameType()
		{
			m_name = "Base Class";
			m_description = "error";
		}
		
		//----------------------------------------------------------------------------------------------------
		public function SetActive(active:Boolean)
		{
			m_active = active;
		}
		
		//----------------------------------------------------------------------------------------------------
		public function GetName():String
		{
			return m_name;
		}
		
		//----------------------------------------------------------------------------------------------------
		public function GetDescription():String
		{
			return m_description;
		}
		
		//----------------------------------------------------------------------------------------------------
	}
}